package com.example.lib_common.view.model

import com.example.lib_common.view.api.BaseApiServer

//基础仓库层
abstract class BaseRepository <S:BaseApiServer>{
    protected var apiService:S
    init {
        apiService=createApiService()
    }
    protected abstract fun createApiService():S
}